//
//  AddDefectViewController.h
//  Audit
//
//  Created by cc on 15-2-12.
//  Copyright (c) 2015年 cc. All rights reserved.
//

#import "BaseViewController.h"
#import "Defect.h"
#import "Car.h"

typedef void (^addDefectBlock)(Defect *newDefect);
typedef void (^editDefectBlock)(Defect *editDefect);

@interface AddDefectViewController : BaseViewController

@property (nonatomic , strong) Car         *selectedCar;
@property (nonatomic , strong) Defect         *currentDefect;
@property (nonatomic , strong) addDefectBlock addDefect;
@property (nonatomic , strong) editDefectBlock editDefect;
@property (nonatomic , strong) NSData  *image;

@property (nonatomic , strong) NSString *doSth;

@property (nonatomic , strong) NSMutableArray * imgArr;

@property (nonatomic , strong) NSMutableArray * mainPartInfoArr;

@property (nonatomic , strong) NSMutableArray * detailPartInfoArr;

@property (nonatomic , strong) NSMutableArray * detailPartInfoSearchArr;

@property (nonatomic , assign) BOOL searchFlag;

@property (nonatomic , assign) BOOL isFirst;

@end
